﻿namespace Wisdom.Core.WcfExtensions
{
    public class ServiceProxyFactoryInitializer : BootstrapperTask
    {
        public EndpointNameGenerator EndpointNameGenerator;

        public override TaskContinuation Execute()
        {
            ServiceProxyFactory.Initialize(EndpointNameGenerator);
            return TaskContinuation.Continue;
        }
    }
}